package com.finesys.backend.common.model.base;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * <p>Title: 分页查询结果</p>
 * <p>Description: </p>
 * <p>Copyright: CopyRight (c) 2020-2035</p>
 * <p>Company: finesys Co. LTD.</p>
 * <p>Author: lehoon</p>
 * <p>Date: 2020/10/21 16:43</p>
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PageResult implements Serializable {
    /**当前页码*/
    private int page;
    /**每页显示条数*/
    private int limit;
    /**总页数*/
    private long pageSizes;
    /**总数*/
    private long total;
    /**数据对象*/
    private List<?> items;
}
